<?php
/**
*
* @package ppkBB3cker
* @version $Id: tconf.php 1.000 2009-08-13 13:36:00 PPK $
* @copyright (c) 2009 PPK
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

define('TRACKER_CONFIG_TABLE', $table_prefix . 'tracker_config');

$sql = 'SELECT config_name, config_value FROM '.TRACKER_CONFIG_TABLE." WHERE config_name LIKE 'ppkbb\_tc%'";
$result = my_sql_query($sql);
while($row=mysql_fetch_row($result))
{
	$$row[0]=$row[1];
	$trcache_config[$row[0]]=$row[1];
}
mysql_free_result($result);

include_once($tincludedir.'tcache.'.$phpEx);

t_recache('config', $trcache_config);
?>
